package com.m4399.minigamedemo

import android.app.Activity
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import com.m4399.minigame.sdk.MiniSDK
import com.m4399.minigame.sdk.auth.AccountInfo

class EmptyShortcutActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        LoginHelper.setLoginInfo()
        MiniSDK.startMiniById(this, MiniGameApplication.currentId)

        Handler().postDelayed({
            finishAndRemoveTask()
        }, 500)
    }
}